<%--
  Created by IntelliJ IDEA.
  User: 小强
  Date: 2021/10/7
  Time: 21:21
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>书籍详情(已出库)</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="../../css/menustyle.css">
</head>

<body>

<div class="container-fluid">
    <div class="row-fluid clearfix">
        <!-- 导航栏 -->
        <div id="sidebar">
            <header>
                <a href="#">后台管理</a>
            </header>
            <ul class="nav">
                <li>
                    <a href="${pageContext.request.contextPath}/admin/allReader">
                        读者管理
                    </a>
                </li>
                <li>
                    <a href="${pageContext.request.contextPath}/bookIO/toAllIOBook">
                        出入库管理
                    </a>
                </li>
                <li>
                    <a href="${pageContext.request.contextPath}/Lend/adminAllBook">
                        借阅管理
                    </a>
                </li>
                <li>
                    <a href="${pageContext.request.contextPath}/type/allType">
                        分类管理
                    </a>
                </li>
            </ul>
        </div>

        <!-- 正文 -->
        <div id="content">
            <div class="container-fluid" style="margin-left: 250px">
                <!-- 网页内容 -->
                <div class="row clearfix">
                    <div class="col-md-12 column">
                        <div class="page-header">
                            <h1>
                                <small>书籍详情</small>
                            </h1>
                        </div>
                    </div>
                </div>

                <div class="row clearfix">
                    <div class="col-md-12 column">
                        <table class="table table-hover table-striped">
                            <thead>
                            <tr>
                                <th>标签1</th>
                                <th>标签2</th>
                                <th>标签3</th>
                                <th>图片</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                            </thead>

                            <tbody>
                            <tr>
                                <td id="type1">${outedTypeID1}</td>
                                <td id="type2">${outedTypeID2}</td>
                                <td id="type3">${outedTypeID3}</td>
                                <td id="pic"><a href="${pageContext.request.contextPath}/static/img/${pic}">查看图片</a></td>

                                <td id="bookState">${outedBookState}</td>
                                <td>
                                    <a href="${pageContext.request.contextPath}/bookIO/reStoreBook/?id=${bookID}">重新入库</a>&nbsp;|
                                    <a href="${pageContext.request.contextPath}/bookIO/delBook/${bookID}">永久删除</a>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>